Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid A

Total Complexity 67
Dependencies 4
Dependents 0
Total lines 689
Lines of code 388
Logical lines of code 135
Comment lines 226
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
get_add_to_cart()
S
51 6 24
prime_product_variations()
S
46 4 38
get_container_classes()
S
54 5 21
set_ordering_query_args()
S
56 5 20
get_image_html()
S
58 5 15
render()
S
47 3 41
set_categories_query_args()
S
60 4 12
get_rating_html()
S
60 3 14
set_stock_status_query_args()
S
60 3 13
get_sale_badge_html()
S
61 3 12
get_products()
S
60 3 12
get_non_cached_ids()
S
64 3 10
get_products_limit()
S
69 3 6
set_visibility_query_args()
S
60 2 13
render_product()
S
52 1 26
parse_query_args()
S
55 1 21
get_block_type_attributes()
S
55 1 20
parse_attributes()
S
56 1 18
get_title_html()
S
70 2 6
get_price_html()
S
66 2 9
get_button_html()
S
70 2 6
get_schema_content_visibility()
S
63 1 12
set_block_query_args()
S
100 1 0
get_schema_orderby()
S
68 1 7
enqueue_data()
S
64 1 9
get_block_type_style()
S
80 1 3